package com.wp.admin.pojo;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;
import java.io.Serializable;
import java.util.Date;

/**
 * @author wp
 * @create 2019-03-03 14:24
 */
@Data
@Table(name = "sys_user")
public class SysUser implements Serializable {
    private static final long serialVersionUID = 3791033407831249231L;

    @Id
    private Long id;

    private String userName;

    private String password;

    private String salt;

    private String email;

    private String mobile;

    private Boolean status;

    private Long deptId;

    private String createBy;

    private Date createTime;

    private String lastUpdateBy;

    private Date lastUpdateTime;

    private Boolean delFlag;

    @Transient
    private String deptName;
}
